import { request } from '../../../request';

/** 获取投料型号 */
export function getAddFeedModelData(params: any) {
  return request({
    url: '/mes/BaseVppcissueplanodr/getLayout',
    params
  });
}

/** 获取备注 */

export function getRemarkData(params: any) {
  return request({
    url: '/mes/BaseMaterial/selectRemarkByMaterialId',
    params
  });
}

/** 获取投料板材 */
export function getAddFeedBoardData(data: any) {
  return request({
    url: '/mes/BaseMaterial/SelectAll',
    method: 'post',
    data
  });
}

/** 新增投产明细接口1 */
export function addProductionFeedDetail(data: any) {
  return request({
    url: '/mes/BasePpcprodissue/insertBasePpcprodissue',
    method: 'post',
    data
  });
}

/** 新增投产明细接口2 */
export function addProductionFeedDetail2(data: any) {
  return request({
    url: '/mes/BaseInvsourceoutdetail/insert',
    method: 'post',
    data
  });
}
